package com.itrh.auth.mapper;

import com.itrh.auth.domain.Permission;
import com.itrh.base.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author XHU_WHY
 * @since 2024-04-06
 */
@Mapper
public interface PermissionMapper extends BaseMapper<Permission> {

    Permission selectBySn(String sn);

    List<Permission> selectTree();

    List<Permission> selectByIds(List<Long> ids);

    List<String> getPermissionByEmpId(Long id);
}
